type IFormItemCtlType = 'input' | 'select' | 'password' | 'datepicker'

interface IFormItemType {
  field: string
  type: IFormItemCtlType
  label: string
  rules?: any[]
  placeHolder?: any
  // 针对 select
  options?: any[]

  // 针对其他控件
  otherOptions?: any
  itemStyle?: any
}

interface IFormType {
  formItems: IFormItemCtlType[]
  labelWidth?: string
  itemStyle?: any
  colLayout?: any
}

export { IFormType, IFormItemType, IFormItemCtlType }
